//
//  MegafaunaOfDayImage.m
//  Digital Seamonsters
//
//  Created by Adam Cue on 2/22/11.
//  Copyright Adam Cue 2011.
//
//  This program is licensed and distributed under the terms of the GNU General Public License.  
//	The text for the license can be found in the license.txt file in this project.
//

#import "MegafaunaOfDayMedia.h"


@implementation MegafaunaOfDayMedia
@synthesize thumbnailImage = _thumbnailImage;
@synthesize fullImage = _fullImage;
@synthesize videoURL = _videoURL;
@synthesize caption = _caption;
@synthesize isMain;
@synthesize thumbnailNumber;

- (id)initWithThumbnailImage:(UIImage *)selectedThumbnailImage fullImage:(UIImage *)selectedFullImage caption:(NSString *)selectedCaption{
	if(self = [super init]){
		self.thumbnailImage = selectedThumbnailImage;
		self.fullImage = selectedFullImage;
		self.caption = selectedCaption;
	}
	return self;
}

- (id)initWithThumbnailImage:(UIImage *)selectedThumbnailImage videoURL:(NSString *)selectedVideoURL caption:(NSString *)selectedCaption{
	if(self = [super init]){
		self.thumbnailImage = selectedThumbnailImage;
		self.videoURL = selectedVideoURL;
		self.caption = selectedCaption;
	}
	return self;
}

- (void)dealloc{
	self.thumbnailImage = nil;
	self.fullImage = nil;
	self.videoURL = nil;
	self.caption = nil;
	[super dealloc];
}
@end
